package com.sales.service;

import com.github.pagehelper.PageInfo;
import org.comple.erp.pojo.sales.SalesSlip;
import org.springframework.web.bind.annotation.RequestParam;


import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface SalesSlipService {
    PageInfo<SalesSlip> selectSlipList(Map<String, Object> params);

    Boolean insertSelective(SalesSlip record);

    Boolean  updateByPrimaryKeySelective(SalesSlip record);

    Boolean deleteByPrimaryKey(String id);

    SalesSlip selectByPrimaryKey(String id);

    //远程调用
    List<SalesSlip> getSaleSlipList(String customer_code);

    //远程调用
    List<SalesSlip> getSaleSlip(String code);

    Boolean updateSlipList(Map<String, Object>  params);

    //发票使用
    SalesSlip selectByCode(Map<String, Object>  params);
}
